package com.smart.lx.designPrinciples.lsp;

/**
 * 功能描述: <br>
 * 〈长方形 正方形 演示里氏替换原则〉
 *
 * @since: 1.0.0
 * @Author:abc
 * @Date: 2019/4/6
 */
public class Rectangle  implements Quadrangle{
    private long height;
    private long width;
@Override
    public long getHeight() {
        return height;
    }

    public void setHeight(long height) {
        this.height = height;
    }
    @Override
    public long getWidth() {
        return width;
    }

    public void setWidth(long width) {
        this.width = width;
    }
}
